import request from '@/utils/request'
// 查询作业进行中
export function updatefile(data) {
  return request({
    url: '/simhash/topFile/updateIn',
    method: 'post',
    data:data
  })
}
// 修改用户
export function queryByFileName(fileName) {
  return request({
    url: '/topic/queryByFileName/'+fileName,
    method: 'post'
  })
}
// 修改用户

export function checkedd(data) {
  return request({
    url: '/simhash/topFile/checkedd',
    method: 'post',
    data:data
  })
}
export function checkmyself(data) {
  return request({
    url: '/simhash/topFile/checkmyself',
    method: 'post',
    data:data
  })
}
//学生查询成绩
export function queryProblemByTopicId(topicId){
  return request({
    url: '/problem/queryByTopicId/'+topicId,
    method: 'post'
  })
}
